package com.web.exiaodao.business.service;

import com.web.exiaodao.business.entity.FanliOrder;
import com.web.exiaodao.remote.vo.FanliOrderVo;
import com.web.webstart.base.exception.BusinessException;
import com.web.webstart.base.service.BaseServiceInterFace;
import com.web.webstart.base.util.result.XaResult;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface FanliOrderService extends BaseServiceInterFace<FanliOrder>{
	
	//导出多条信息
	public void exportdata(Map<String, Object> filterParams, HttpServletResponse response, String modelIds) throws BusinessException;

	//统计一年的返利收益
    public XaResult<Page<FanliOrderVo.FanliStatistics>> findStatisticsByYearFilter(Long busId, String year, Pageable pageable) throws BusinessException;
}
